<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
	</head>
	<body>
		<div id="app">
			<!-- <tr>
				<button v-on:click="addNum">增加</button>
				<button @click="addNum">增加</button>
			</tr> -->
			<!-- <input type="text" v-model="score" /><br>
			    <h3 v-if="score>90">优秀</h3>
				<h3 v-else-if="score>80">良好</h3>
				<h3 v-else>继续努力</h3> -->
			<!-- <h1>
			{{msg}}
			
			</h1> -->
		
		<div id="demo3">
			<table border="1px" width="90%" >
				<tr align="center">
					<td>编号</td>
					<td>名字</td>
					<td>年龄</td>
				</tr>
				<tr align="center" v-for="user in userList">
					<td v-text="user.id"></td>
					<td v-text="user.name"></td>
					<td v-text="user.age"></td>
					
				</tr>
			</table>
			</div>
		</div>
		<script src="../js/vue.js"></script>
		<script>
		var scan=new Vue({
			el:"#app",
			data:{
				// msg:100,
				// score:0,
				userList:[{id:100,name:"泰森",age:60},
				{id:101,name:"阿里",age:50},
				],
	 },
			methods:{
				// addNum(){
				// 	this.msg++
				
				// }
			}
		})
		</script>
		
	</body>
</html>
